What type of listener is needed for an ActionEvent?
A good answer might be:
An object which implements ActionListener.
Repeat after Me
Here an application that has two JTextFields.
The user types into one field
and hits enter.
The application then copies the text from that
field to the other.
In the picture, the user typed in "Sherlock" and then hit enter.